package cn.wolfcode.service;

import cn.wolfcode.domain.Emp;
import cn.wolfcode.domain.PageBean;
import cn.wolfcode.domain.Result;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
public interface EmpService {


     Result login(Emp emp);

     void delete(List<Long> ids);

     void save(Emp emp);

     Emp getById(Long id);

     void update(Emp emp);


     PageBean list(String name, Integer gender, Integer page, Integer pageSize, Date begin, Date end);
}
